Tokens for Search Repository

The Search Repository activity produces the following tokens.

Name Description Sample Syntax*
FirstResult_Name The name of the first entry found by the Search Repository activity. %(SearchRepository_FirstResult_Name)
FirstResult_ID The Laserfiche ID number of the first entry found by the Search Repository activity. %(SearchRepository_FirstResult_Id)
FirstResult_Path The folder path of the first entry found by the Search Repository activity. %(SearchRepository_FirstResult_Path)
FirstResult_FullPath The folder path of the first entry found by the Search Repository activity, including the entry's name in the path. %(SearchRepository_FirstResult_FullPath)
FirstResult_Repository The repository that contains the first entry found by the Search Repository activity. %(SearchRepository_FirstResult_Repository)
FirstResult_Server The Laserfiche Server that contains the first entry found by the Search Repository activity. %(SearchRepository_FirstResult_Server)
FirstResult_Guid The GUID (Globally Unique Identifier) of the first entry found by the Search Repository activity. %(SearchRepository_FirstResult_Guid)
Result Count The number of entries found by the Search Repository activity. %(SearchRepository_Result Count)

*The "SearchRepository" portion of the syntax changes to match the activity's name as specified in the Activity Name property box. Note that all non-alphanumeric characters, except underscores, are removed from the name. For example, if you rename the activity Look for--HR_Fields, the syntax for the FirstResult_Id token will be %(LookforHR_Fields_FirstResult_Id).

Tokens for each entry found

More tokens are available when this activity is used with the For Each Entry activity. The For Each Entry activity runs one time per entry. Each time it runs, the token values reflect the information relevant to the entry it is currently processing.

Name Description Sample Syntax*
CurrentEntry_Name The name of the current entry. %(ForEachEntry_CurrentEntry_Name)
CurrentEntry_Id The Laserfiche ID number of the current entry. %(ForEachEntry_CurrentEntry_Id)
CurrentEntry_Path The folder path of the current entry. %(ForEachEntry_CurrentEntry_Path)
CurrentEntry_FullPath The folder path of the current entry, including the entry's name. %(ForEachEntry_CurrentEntry_FullPath)
CurrentEntry_Repository The repository the current entry is in. %(ForEachEntry_CurrentEntry_Repository)
CurrentEntry_Server The Laserfiche Server that contains the current entry. %(ForEachEntry_CurrentEntry_Server)
CurrentEntry_Guid The GUID (Globally Unique Identifier) of the current entry. %(ForEachEntry_CurrentEntry_Guid)

*The "ForEachEntry" portion of the syntax changes to match the activity's name as specified in the Activity Name property box. Note that all non-alphanumeric characters, except underscores, are removed from the name. For example, if you rename the activity Apply [Settings] to Each, the syntax for the CurrentEntry_Id token will be %(ApplySettingstoEach_CurrentEntry_Id).


This documentation is specific to version 9.0. You can find the most up-to-date help files for the latest version at Current Online Laserfiche Product Help Files.

For further help or feedback, please see the Laserfiche Support Site.

 

© 2013 Laserfiche